#ifndef PLUGINDEMO_H
#define PLUGINDEMO_H

#include "PluginDemo_global.h"
#include "PluginInterface.h"

class PLUGINDEMO_EXPORT PluginDemo:public QObject,public PluginInterface
{
    Q_OBJECT
    Q_PLUGIN_METADATA(IID PluginInterfaceIID)//PluginInterfaceIID就是IID
    Q_INTERFACES(PluginInterface)
public:
    PluginDemo();
    ~PluginDemo();
    QWidget *getWidget();
private:
    QWidget *mGenWidget;
};

#endif // PLUGINDEMO_H
